:: publish-pdf.bat

set doc=%1

set perl=app\perl\perl\bin\perl.exe
set publish=app\publish\publish.pl
set svn=app/svn/svn.exe
set convert=app\ImageMagick-6.8.8-Q16\convert.exe
set pdflatex=..\app\miktex\miktex\bin\pdflatex
set bibtex=..\app\miktex\miktex\bin\bibtex
set makeindex=..\app\miktex\miktex\bin\makeindex

cd ..

::--------------------------------------------------------------------
:: PDF
::
%perl% %publish% ^
--nochangelog ^
--nocleanup ^
--noloroles ^
--noloassignments ^
--noloallocations ^
--scripts ^
--nouse_svn ^
--svn %svn% ^
--convert %convert% ^
--pdflatex %pdflatex% ^
--bibtex %bibtex% ^
--makeindex %makeindex% ^
--render pdf ^
-- %doc%.txt

cd scripts-publish
